Build a Snake Game in Python in Under 50 Lines of Code

Поделиться
HTML-код
  • Опубликовано: 10 янв 2025

Комментарии •

  • @Egeexyz
    @Egeexyz 4 года назад +4

    This is a great little tutorial. And the voice-over quality is fantastic!

  • @softwhere07
    @softwhere07 3 года назад +2

    I try to run it and i get this error. Why is that?
    Traceback (most recent call last):
    File "C:\Users\John\AppData\Local\Programs\Python\Python37-32\Scripts\snaker.py", line 5, in
    curses.initscr() #initialize
    File "C:\Users\John\AppData\Local\Programs\Python\Python37-32\lib\curses\__init__.py", line 30, in initscr
    fd=_sys.__stdout__.fileno())
    AttributeError: 'NoneType' object has no attribute 'fileno'

  • @bhmarque
    @bhmarque 4 года назад +1

    Who did never play this funny game? Now in a python version... thx Carla

  • @DoreneCodes
    @DoreneCodes 4 года назад +3

    I'm going to try this on my end! Great quality video!!

  • @empowercode
    @empowercode 4 года назад +1

    Hey! I just found your channel and subscribed, love what you're doing!
    I like how clear and detailed your explanations are as well as the depth of knowledge you have surrounding the topic! Since I run a tech education channel as well, I love to see fellow Content Creators sharing, educating, and inspiring a large global audience. I wish you the best of luck on your RUclips Journey, can't wait to see you succeed! Your content really stands out and you've put so much thought into your videos!
    Cheers, happy holidays, and keep up the great work :)

  • @belkmouf
    @belkmouf 4 года назад +1

    Thanks Carla keep them coming🏆

  • @oliverdropcotutorials8127
    @oliverdropcotutorials8127 4 года назад +1

    Hi, nice tutorial but I don't know how to open it in Terminal

  • @MichaelBacaArtist
    @MichaelBacaArtist 4 года назад +1

    Thank you, that was very helpful! Subscribed!

  • @deyol1352
    @deyol1352 3 года назад

    I cannot install curses library?

  • @WillNys
    @WillNys 2 года назад

    it says "break" outside loop

  • @farukabdullamunshi8358
    @farukabdullamunshi8358 4 года назад +1

    Traceback (most recent call last):
    File "C:\Users\user\Desktop\snake.py", line 29, in
    window.timeout(140 - (len(snake)/5 + len(snake)/10)%120)
    TypeError: integer argument expected, got float

    • @everstorm8364
      @everstorm8364 4 года назад +1

      make the division to intger division
      i.e. replace / with //
      hope that helps

    • @farukabdullamunshi8358
      @farukabdullamunshi8358 4 года назад

      @@everstorm8364 I put the whole argument inside int and tried but then another error ocurr. syntax error in the line containing `event`

  • @WillNys
    @WillNys 2 года назад

    i cant use "break"

  • @PodClipCasting
    @PodClipCasting 4 года назад +1

    Today I also create snake game but it was so complicated but after watching this video..
    Me be like - what the hell I am doing 🥺😂

  • @oncamlminecraft3939
    @oncamlminecraft3939 4 года назад

    snake: #, bait:o.???????????????????????????????????